//---------------------------------------------------------------------------

#ifndef VVOD_PERESHH
#define VVOD_PERESHH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include <DB.hpp>
#include <DBCtrls.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
#include <ExtCtrls.hpp>
#include <Mask.hpp>
//---------------------------------------------------------------------------
class TfrVVOD_PERESH : public TForm
{
__published:	// IDE-managed Components
	TActionList *ActionList1;
	TAction *SAVE;
	TPanel *pMAIN;
	TcxGroupBox *gbMain;
	TLabel *lab1;
	TLabel *lab2;
	TDBText *labFIO1;
	TLabel *lab3;
	TDBText *labADRES1;
	TLabel *lab4;
	TDBText *labDATADOG;
	TLabel *lab5;
	TDBText *labKOL_JIL;
	TLabel *lab6;
	TDBText *labLG_JIL;
	TLabel *lab7;
	TDBText *labDAT_P_OPL;
	TLabel *lab8;
	TDBText *labDOLG;
	TLabel *lab9;
	TDBText *labKOD_TRF;
	TLabel *lab10;
	TDBText *labPLIT;
	TLabel *lab11;
	TDBText *labKOL_KOTL;
	TLabel *lab12;
	TDBText *labKOL_BPG;
	TDBEdit *dbeNOM;
	TLabel *lab13;
	TLabel *lab14;
	TLabel *labGOD;
	TLabel *lab15;
	TLabel *labMES;
	TPanel *pEdit;
	TcxGroupBox *gbEdit;
	TLabel *lab16;
	TEdit *edSUM;
	TDBLookupComboBox *cbIZM_NACH;
	TDBLookupComboBox *cbPR_PERESH;
	TLabel *lab17;
	TLabel *lab18;
	TEdit *edPRIM;
	TPanel *pUPR;
	TcxButton *btSAVE;
	TcxButton *btSAVE1;
	TAction *actCANCEL;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall edSUMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall cbIZM_NACHClick(TObject *Sender);
	void __fastcall cbIZM_NACHKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall cbPR_PERESHKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall SAVEExecute(TObject *Sender);
	void __fastcall edPRIMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall actCANCELExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM;
String MES,GOD;
	__fastcall TfrVVOD_PERESH(TComponent* Owner);
	void __fastcall TfrVVOD_PERESH::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrVVOD_PERESH *frVVOD_PERESH;
//---------------------------------------------------------------------------
#endif
